<template>
  <div>
    <el-form label-width="80px">
      <el-row>
        <el-form-item label="轮子标题">
          <el-input placeholder="轮子叫啥" />
        </el-form-item>
      </el-row>
      <el-row>
        <el-form-item label="轮子简介">
          <el-input />
        </el-form-item>
      </el-row>
      <el-row>
        <el-form-item label="创建时间">
          <el-col :span="11">
            <el-date-picker type="date" placeholder="选择日期" style="width: 100%;" />
          </el-col>
          <el-col class="line" :span="2">--</el-col>
          <el-col :span="11">
            <el-time-picker placeholder="选择时间" style="width: 100%;" />
          </el-col>
        </el-form-item>
      </el-row>
      <el-row>
        <el-form-item label="轮子链接">
          <el-input />
        </el-form-item>
      </el-row>
      <el-row>
        <el-form-item label="轮子插图">
          <el-upload
            class="upload-demo"
            action="https://jsonplaceholder.typicode.com/posts/"
            list-type="picture"
          >
            <el-button size="small" type="primary">点击上传</el-button>
            <div slot="tip" class="el-upload__tip">只能上传jpg/png文件，且不超过500kb</div>
          </el-upload>
        </el-form-item>
      </el-row>
    </el-form>
  </div>
</template>
<style scoped>
  .line{
    text-align: center;
  }
</style>
